// import Vue from 'vue'
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import setAxios from './setaxios'
import videojs from 'video.js'

// import "bootstrap/dist/css/bootstrap.min.css";
// import './assets/web/css/bootstrap.min.css'
import 'bootstrap';//引入bootstrap.js
import "bootstrap/dist/css/bootstrap.css"
import './assets/web/css/main.css'
import 'video.js/dist/video-js.css'  //videojs样式

setAxios();
const app = createApp(App)
app.config.globalProperties.$http = axios // 新版，用globalProperties
app.config.globalProperties.$VideoJs = videojs;
// createApp.prototype.$http = axios // 旧版，避免每个用的地方都要引入，挂载在vue的原型上

app.use(store).use(router).mount('#app')
